enable logging fortigate cli. There are any references about enable logging fortigate cli in here. you can look below.